<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
	<title>邮件新增/编辑</title>
	<script src="../../../../../scripts/boot.js" type="text/javascript"></script>
	<script src="../../../../../res/third-party/ajaxfileupload/ajaxfileupload.js" type="text/javascript"></script>
	<script src="../../../../../../js/dateUtil.js" type="text/javascript"></script>
	<script src="../../../../../../ueditor/ueditor.config.js" type="text/javascript"></script>
	<script src="../../../../../../ueditor/ueditor.all.js" type="text/javascript"></script>
	<style type="text/css">
		html, body {
			padding: 0;
			margin: 0;
			border: 0;
			height: 100%;
			line-height: 0;
			overflow: hidden;
		}
		.view{
			overflow: scroll;
		}
	</style>
</head>
<body>
	<form id="form1" method="post">
		<!--按钮-->
		<div
			style="text-align: left; padding: 5px 10px; border-bottom: 1px solid #aed0ea; margin-bottom: 10px;">
			<!--  style="width: 140px;" -->
			<a class="mini-button" onclick="onOk">保存到草稿</a> 
			<a class="mini-button" onclick="saveAndRelease">发送</a>
			<!-- <a class="mini-button" onclick="xiazai" style="width: 100px;">下载</a> -->
		</div>
		<!--表单-->
		<input name="msg_send_id" class="mini-hidden" />
		<div style="padding-left: 11px; padding-bottom: 5px;">
			<table style="table-layout: fixed;width:100%">
				<tr>
					<td style="width: 100px; text-align: right"><span
						style='color: red; vertical-align: middle;'> * </span>邮件标题：</td>
					<td style="width: 74%;">
						<input name="msg_title" class="mini-textbox" onvalidation="onNotSpaceValidation" style="width:100%"/>
					</td>
				</tr>
				<tr>
					<td style="width: 100px; text-align: right"><span style='color: red; vertical-align: middle;'> * </span>发件人：</td>
					<td style="width: 74%;">
						<input name="send_people" class="mini-textbox" onvalidation="onNotSpaceValidation" style="width:100%" readonly/>
					</td>
				</tr>
				<tr>
					<td style="width: 100px; text-align: right"><span
						style='color: red; vertical-align: middle;'> * </span>收件人：</td>
					<td style="width: 74%;">
						<!-- 收件人显示 -->
						<input name="user_id" class="mini-textboxlist" onvalidation="onNotSpaceValidation" style="width:89%" 
							valueField="id" textField="nameText"  _allowInput="false" inputMode="true"/>
						<!-- 选择 -->
						<a id='changeBtn' class="mini-button" onclick="onChange" style="width: 10.5%;">选择</a> 
					</td>
				</tr>
				<tr>
					<td style="width: 100px; text-align: right">
						<span style='color: red; vertical-align: middle;'> * </span>发送时间：
					</td>
					<td style="width: 74%;">
						<input name="push_time" class="mini-textbox" onvalidation="onNotSpaceValidation" style="width:100%"/>
					</td>
				</tr>
				<tr>
					<td style="width: 100px; text-align: right"><span
						style='color: red; vertical-align: middle;'> * </span>邮件内容：
					</td>
					<td style="width: 100%;" colspan="3">
					 	<textarea id="content" name="content" style="height: 300px;width: 90%;"></textarea> 
					 	<!-- <div class="mini-panel" title="邮件内容编辑" width="850px" showCollapseButton="true" >
        					<textarea id="content" name="content" style="height: 300px;width: 100%;"></textarea>
    					</div> -->
				    </td>
				</tr>
			</table>
		</div>
		
	</form>
	
	<script type="text/javascript" src="js/mAddAndEdit.js"></script>
</body>
</html>